/**  
 * All rights Reserved, Designed By www.beonelot.com
 * @Package: com.bccah.modlib.dbdo.mapper
 * @Filename: AcsControlRoomInfoMapper.java
 * @Description: TODO(AcsControlRoomInfoMapper接口)
 * @author: 金鑫智慧
 * @date: 2020-04-07
 * @version: V1.0
 * @Copyright: 2018 www.beonelot.com Inc. All rights reserved.
 * 注意：本内容仅限于重庆金鑫智慧科技有限公司内部传阅，禁止外泄以及用于其他的商业目的
 */
package com.jinxin.platform.cdfaceacs.mapper;

import com.jinxin.platform.cdfaceacs.pojo.domains.AcsControlRoomInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * TODO(AcsControlRoomInfoMapper接口)
 * @Classn: AcsControlRoomInfoMapper
 * @author SY
 * @date 2020-04-07
 */
@Mapper
public interface JurenAcsControlRoomInfoMapper {
    int deleteByPrimaryKey(String roomId);

    int insert(AcsControlRoomInfoDO record);

    int insertSelective(AcsControlRoomInfoDO record);

    AcsControlRoomInfoDO selectByPrimaryKey(String roomId);

    int updateByPrimaryKeySelective(AcsControlRoomInfoDO record);

    int updateByPrimaryKey(AcsControlRoomInfoDO record);

    List<Map> selAllRoom();

    List<AcsControlRoomInfoDO> selAllTable(@Param("roomName") String roomName, @Param("community")String community,@Param("blockId")String blockId, @Param("blockName")String blockName);

    List<AcsControlRoomInfoDO> selDOByInfo(AcsControlRoomInfoDO record);

    List<Map> selRoomByBuild(String buildLoc);
}
